
namespace JTZY.Model.Business
{
    /// <summary>
    /// 商品浏览记录表
    /// </summary>
    [SugarTable("corecmsgoodsbrowsing")]
    public class Corecmsgoodsbrowsing
    {
        /// <summary>
        /// ID 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// 商品id 关联goods.id 
        /// </summary>
        public int GoodsId { get; set; }

        /// <summary>
        /// 用户id 
        /// </summary>
        public long UserId { get; set; }

        /// <summary>
        /// 商品名称 
        /// </summary>
        public string GoodsName { get; set; }

        /// <summary>
        /// 创建时间 
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 删除标志 
        /// </summary>
        public bool Isdel { get; set; }

        /// <summary>
        /// 商品所属用户 
        /// </summary>
        public long? GoodUserId { get; set; }

        [SugarColumn(IsIgnore =true)]
        public string UserName { get; set; }

        [SugarColumn(IsIgnore = true)]
        public bool IsBuy { get; set; }

    }
}